package com.edu.whu.service;

import com.edu.whu.entity.UserInfo;
import com.edu.whu.entity.UserInfoDto;
import org.springframework.stereotype.Service;

@Service
public interface UserService {
    public String createUser(UserInfo userInfo) throws ServiceException;

    public UserInfoDto getUser(String account);

    public String login(UserInfo userInfo)throws ServiceException;
}

